using System;

namespace Needle.Core.Activation {

    /// <summary>
    /// This exception is throw when an activation error occurs.
    /// </summary>
    [global::System.Serializable]
    public class ActivationException : Exception {
        /// <summary>
        /// initializes a new instance.
        /// </summary>
        public ActivationException() { }
        /// <summary>
        /// initializes a new instance.
        /// </summary>
        public ActivationException(string message) : base(message) { }
        /// <summary>
        /// initializes a new instance.
        /// </summary>
        public ActivationException(string message, Exception inner) : base(message, inner) { }
        /// <summary>
        /// initializes a new instance.
        /// </summary>
        protected ActivationException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }

    }
}
